package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城店铺浏览记录
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("store_visit")
public class StoreVisit extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商家店铺主键id
     */
    @TableField("store_id")
    private Integer storeId;
    /**
     * 用户主键id
     */
    @TableField("member_id")
    private Integer memberId;
    /**
     * 平台类型(0:app 1:wechat 2:pc 3:小程序)
     */
    private Integer platform;
    /**
     * 手机类型(0:android 1:ios)
     */
    @TableField("phone_platform")
    private Integer phonePlatform;
    /**
     * ip地址
     */
    @TableField("ip_address")
    private String ipAddress;
    /**
     * app版本
     */
    @TableField("app_version")
    private String appVersion;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
